<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_id" data-rule="required" data-source="payment/index" class="form-control selectpage" name="row[payment_id]" type="text" value="{$row.payment_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" readonly="readonly" step="0.01" type="number" value="{$row.money}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cash_charge')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cash_charge"  class="form-control"  readonly="readonly" type="text" value="{$row.cash_charge}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Before_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-before_money" class="form-control"  readonly="readonly" step="0.01" type="number" value="{$row.before_money}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_style')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_style" class="form-control "  readonly="readonly" type="text" value="{$row.pay_style_info}">
        </div>
    </div>
    {if $row.pay_style==1}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支付宝收款码:</label>
        <div class="col-xs-12 col-sm-8">
            <img src="{$payinfo.varchar}" height="150" width="150" />
        </div>
    </div>
    {elseif $row.pay_style==2}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">微信收款码:</label>
        <div class="col-xs-12 col-sm-8">
            <img src="{$payinfo.varchar}" height="150" width="150" />
        </div>
    </div>
    {else}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">银行名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  readonly="readonly" type="text" value="{$payinfo->name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">支行名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  readonly="readonly" type="text" value="{$payinfo->branch}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">卡号:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  readonly="readonly" type="text" value="{$payinfo->card}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">真实姓名:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control"  readonly="readonly" type="text" value="{$payinfo->truename}">
        </div>
    </div>
    {/if}


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_over')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_over" data-rule="required" class="form-control selectpicker" name="row[is_over]">
                {foreach name="isOverList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_over"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" readonly="readonly" type="text" value="{$row.create_time}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
